<?php
if (!empty($this->arrHotNewsResult)) {
    $firstNews = array_shift($this->arrHotNewsResult);
    ?>
<div class="w670 left no_space" id="box_hot_news">
    <div class="box_news_670 w670 left">
        <div class="left img_362x272">
            <a href="<?php echo $this->articleurl($firstNews); ?>" title="<?php echo $firstNews['title']; ?>" alt="<?php echo $firstNews['title']; ?>">
                <img src="<?php echo $this->imageurl($firstNews['thumbnail_url'], $this->imageSize['size1']);?>" width="362" height="272"  title="<?php echo $firstNews['title']; ?>" alt="<?php echo $firstNews['title']; ?>" />
                <?php if($firstNews['article_type'] == VIDEO): ?>
                <span class="btn_xemvideo">Xem Video</span>
                <?php endif?>
            </a>
        </div>
        <div class="content_news_670 w290 right">
            <div class="main_ct_news">
                <h1><a href="<?php echo $this->articleurl($firstNews); ?>" title="<?php echo $firstNews['title']; ?>" alt="<?php echo $firstNews['title']; ?>"><?php echo $firstNews['title']; ?></a></h1>
                <p class="txt_short_desc"><?php echo $firstNews['lead']; ?></p>
                <p>
                <span class="txt_gray"><?php echo $this->DateTimeFormat($firstNews['publish_time']); ?><span class="icon_portal_thethao icon_commend">&nbsp;</span> <?php  echo $this->articlecomment($firstNews); ?></span></p>
            </div>
            <ul>
                <?php
                $last_key = key(array_slice($this->arrHotNewsResult, -1, 1, TRUE));
                foreach ($this->arrHotNewsResult as $key => $arrHotNews) {
                    ?>
                    <li <?php echo ($last_key == $key ? 'class="end"' : '');?>><a href="<?php echo $this->articleurl($arrHotNews); ?>" class="txt_black_hover_blue" title="<?php echo $arrHotNews['title']; ?>" alt="<?php echo $arrHotNews['title']; ?>"><?php echo $arrHotNews['title']; ?></a><?php echo $this->ArticleViewIcon($arrHotNews['privacy']); ?></li>
                    <?php
                }
                ?>
            </ul>
        </div>
    </div>
</div>
    <?php
}
?>